/**
 * jims
 */
package com.jims.master.modules.sys.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.jims.master.common.persistence.Page;
import com.jims.master.common.service.CrudService;
import com.jims.master.modules.sys.entity.OrgDict;
import com.jims.master.modules.sys.dao.OrgDictDao;

/**
 * Service
 * @author WangYQ
 * @version 2018-03-30
 */
@Service
@Transactional(readOnly = true)
public class OrgDictService extends CrudService<OrgDictDao, OrgDict> {

	public OrgDict get(String id) {return super.get(id);}
	
	public List<OrgDict> findList(OrgDict orgDict) {
		return super.findList(orgDict);
	}
	
	public Page<OrgDict> findPage(Page<OrgDict> page, OrgDict orgDict) {
		return super.findPage(page, orgDict);
	}
	
	@Transactional(readOnly = false)
	public int save(OrgDict orgDict) {
		return super.save(orgDict);
	}
	
	@Transactional(readOnly = false)
	public int delete(OrgDict orgDict) {
		return super.delete(orgDict);
	}
	/**
	 * 查询所有可签约的机构
	 * @param orgDict
	 * @author WangYQ
	 * @version 2018-03-30
	 */
	public List<OrgDict> findAllList(OrgDict orgDict) {
		return dao.findAllList(orgDict);
	}
	
}